class Student():
    count = 0
    def __init__(self,name):
      self.name = name
      Student.count+=1
    # print(count)

student1 = Student('小红')
print(Student.count)
jhon = Student('jhon')
print(Student.count)